<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<link href="./css/bootstrap.css" rel="stylesheet" type="text/css" />
	<title>Test</title>

	<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
</h:head>

<!-- <f:event listener="#{accountManageBean.onLoad}" type="preRenderView"></f:event>  -->

<style type="text/css">
.auto-style14 {
	height: 34px;
	width: 74px;
}

.auto-style16 {
	height: 34px;
	width: 2973px;
}

.auto-style17 {
	height: 34px;
	width: 5630px;
}

.auto-style18 {
	height: 34px;
	width: 1162px;
}
</style>


<body>
	<h:form id="mainform" action="">
		<h1 style="padding: 20px; text-align: center">Đăng ký tài khoản</h1>
		<table align="center">
			<tr>
				<td style="text-align: right">Họ và tên:</td>
				<td><h:inputText value="#"></h:inputText></td>
			</tr>
			<tr>
				<td style="text-align: right">Lớp:</td>
				<td><h:inputText value="#"></h:inputText></td>
			</tr>
			<tr>
				<td style="text-align: right">Năm:</td>
				<td><h:inputText value="#"></h:inputText></td>
			</tr>
			<tr>
				<td style="text-align: right">Giới tính:</td>
				<td><p:selectBooleanCheckbox
						value="#{nhaTroManageBean.trangThaiThue}" /></td>
			</tr>
			<tr>
				<h:selectOneRadio value="#{nhaTroManageBean.trangThaiThue}">
					<f:selectItem itemValue="#{true}" itemoutputLabel="Yes" />
					<f:selectItem itemValue="#{false}" itemoutputLabel="No" />
				</h:selectOneRadio>
			</tr>

		</table>
		<p:inputText value="#{nhaTroManageBean.maNT}"></p:inputText>
		<p:commandButton></p:commandButton>



		<p:panel id="panel" header="New User">
			<p:messages id="msgs" />
			<h:panelGrid columns="3" cellpadding="5">
				<p:outputLabel for="firstname" value="Firstname:" />
				<p:inputText id="firstname" value="#{nhaTroManageBean.diaChiNT}"
					required="true" outputLabel="Firstname">
					<f:validateLength minimum="2" />
				</p:inputText>
				<p:message for="firstname" display="icon" />

				<p:outputLabel for="lastname" value="Lastname:" />
				<p:inputText id="lastname" value="#{nhaTroManageBean.moTaNT}"
					outputLabel="Lastname" required="true">
					<f:validateLength minimum="2" />
					<p:ajax update="msgLastname" event="keyup" />
				</p:inputText>
				<p:message for="lastname" id="msgLastname" display="icon" />

			</h:panelGrid>

			<p:commandButton value="Show"
				actionListener="#{nhaTroManageBean.showMessage()}"
				icon="ui-icon-check" />
		</p:panel>

		<div>
			<p:outputLabel for="ngaylap" value="Ngày lập: " />
			<p:calendar id="ngaylap" value="#{TTTuyenDungManageBean.ngayLapTTTD}"
				pattern="dd/mm/yyyy" mask="true" />
		</div>

		<h:form>

			<p:fileUpload value="#{nhaTroManageBean.file}" mode="simple"
				sizeLimit="100000" fileLimit="3"
				allowTypes="/(\.|\/)(gif|jpe?g|png)$/" />

			<p:commandButton value="Submit" ajax="false"
				actionListener="#{nhaTroManageBean.upload()}" update="messages" />
			<p:growl id="messages" showDetail="true" />
		</h:form>
		<p:fileUpload
			fileUploadListener="#{nhaTroManageBean.handleFileUpload}"
			mode="advanced" dragDropSupport="false" update="messages"
			sizeLimit="100000" fileLimit="3"
			allowTypes="/(\.|\/)(gif|jpe?g|png)$/" />

		<p:growl id="messages" showDetail="true" />
	</h:form>

	<table>
		<h:form enctype="multipart/form-data">

			<p:messages showDetail="true" />

			<p:fileUpload value="#{nhaTroManageBean.file}" mode="simple"
				sizeLimit="100000" fileLimit="3"
				allowTypes="/(\.|\/)(gif|jpe?g|png)$/" />

			<p:commandButton value="insert" ajax="false"
				action="#{nhaTroManageBean.upload()}" />

			<h:graphicImage id="graphicImage" alt="uploaded graphicImage"
				url="/img/cart.png" />

		</h:form>
	</table>



	<table>
		<tr>
			<td style="width: 86px" rowspan="5"><h:graphicImage
					id="graphicImage1" url="/img/cart.png" /></td>
			<td>&nbsp;</td>
			<td><br /> <h:outputLabel ID="lblTenTour"
					style="color: #0066FF; font-weight: 700" Text=''></h:outputLabel>
				&nbsp; (<h:outputLabel ID="lblSoNgayDi" runat="server" Text=''></h:outputLabel>
				&nbsp;ngày)</td>

		</tr>
		<tr>
			<td colspan="2">Giá: <h:outputLabel ID="lblGia" ForeColor="Red"
					Text=''></h:outputLabel>
			</td>
		</tr>
		<tr>
			<td colspan="2">Giá: <h:outputLabel ID="lblGia" ForeColor="Red"
					Text=''></h:outputLabel>
			</td>
		</tr>
		<tr>
			<td colspan="2">Khởi hành: <h:outputLabel ID="lblNgayKhoiHanh"
					style="font-weight: 700" Text=''></h:outputLabel>
			</td>
		</tr>
		<tr>
			<td colspan="2">Số chỗ còn nhận: <h:outputLabel ID="lblConLai"
					ForeColor="Red" Text=''></h:outputLabel>
			</td>
			<td><span> </span></td>
		</tr>
	</table>
</body>
</html>